[INFO] cloning repository https://github.com/scnjlnj/kvcache
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scnjlnj/kvcache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscnjlnj%2Fkvcache", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscnjlnj%2Fkvcache'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f924d9d515758bded88f580f8e7a0c8b0c8388f
[INFO] fixing scnjlnj/kvcache against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscnjlnj%2Fkvcache" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/scnjlnj/kvcache
[INFO] finished tweaking git repo https://github.com/scnjlnj/kvcache
[INFO] tweaked toml for git repo https://github.com/scnjlnj/kvcache written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/scnjlnj/kvcache on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/scnjlnj/kvcache already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded random_word v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00
[INFO] running `Command { std: "docker" "start" "4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking random_word v0.5.2
[INFO] [stderr]     Checking kvcache v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]  --> src/concurrent/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Output;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]  --> src/concurrent/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Output;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `start`, `stop`, `cancel`
[INFO] [stdout]   --> src/concurrent/rwlock.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<E: Engine + Send + 'static> Scheduler for RwLockScheduler<E> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `start`, `stop`, `cancel` in implementation
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/concurrent/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn start(&self) -> Option<Self::Output>;
[INFO] [stdout]    |     ---------------------------------------- `start` from trait
[INFO] [stdout] 29 |     fn stop(&self) -> Option<Self::Output>;
[INFO] [stdout]    |     --------------------------------------- `stop` from trait
[INFO] [stdout] 30 |     fn cancel(&self, task_id: u64) -> bool;
[INFO] [stdout]    |     --------------------------------------- `cancel` from trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `start`, `stop`, `cancel`
[INFO] [stdout]   --> src/concurrent/rwlock.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<E: Engine + Send + 'static> Scheduler for RwLockScheduler<E> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `start`, `stop`, `cancel` in implementation
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/concurrent/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn start(&self) -> Option<Self::Output>;
[INFO] [stdout]    |     ---------------------------------------- `start` from trait
[INFO] [stdout] 29 |     fn stop(&self) -> Option<Self::Output>;
[INFO] [stdout]    |     --------------------------------------- `stop` from trait
[INFO] [stdout] 30 |     fn cancel(&self, task_id: u64) -> bool;
[INFO] [stdout]    |     --------------------------------------- `cancel` from trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/concurrent/mod.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |               Op::Put(req) => {
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 34 | |                 engine.put(req);
[INFO] [stdout] 35 | |             }
[INFO] [stdout]    | |_____________^ expected `Option<<Self as Scheduler>::Output>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<<Self as concurrent::Scheduler>::Output>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/concurrent/mod.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 |               Op::Put(req) => {
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 34 | |                 engine.put(req);
[INFO] [stdout] 35 | |             }
[INFO] [stdout]    | |_____________^ expected `Option<<Self as Scheduler>::Output>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Option<<Self as concurrent::Scheduler>::Output>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `submit` found for struct `std::sync::RwLockWriteGuard<'_, E>` in the current scope
[INFO] [stdout]   --> src/concurrent/rwlock.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |         engine.submit(op)
[INFO] [stdout]    |                ^^^^^^ method not found in `std::sync::RwLockWriteGuard<'_, E>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `concurrent::Scheduler` defines an item `submit`, perhaps you need to implement it
[INFO] [stdout]   --> src/concurrent/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Scheduler {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `submit` found for struct `std::sync::RwLockWriteGuard<'_, E>` in the current scope
[INFO] [stdout]   --> src/concurrent/rwlock.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |         engine.submit(op)
[INFO] [stdout]    |                ^^^^^^ method not found in `std::sync::RwLockWriteGuard<'_, E>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `concurrent::Scheduler` defines an item `submit`, perhaps you need to implement it
[INFO] [stdout]   --> src/concurrent/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Scheduler {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/engine/bitcask.rs:200:40
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn get_value_from_entry(&mut self, key: &Vec<u8>, offset: u64, length: u32) -> Result<String> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/engine/bitcask.rs:200:40
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn get_value_from_entry(&mut self, key: &Vec<u8>, offset: u64, length: u32) -> Result<String> {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvcache` (lib) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0046, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kvcache` (lib test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00", kill_on_drop: false }`
[INFO] [stdout] 4bfb66a585a3996c0a0aa54be8fb4fa18d5e99105063dace3685a71caf549f00
